{% extends '::base.html.twig' %} 
{% block module_name %}Salidas{% endblock %}
{% block title %}Salidas :: Nueva{% endblock %}

{% block customScripts %}
<script src="{{ asset('bundles/EndorBundle/js/Endor.Compras.js') }}"></script>
<script src="{{ asset('bundles/EndorBundle/js/jquery.dataTables.min.js') }}"></script>
{% endblock %}

{% block body2 %}
<div class="col_7_">
    <div class="widget clearfix">
        <h2>Salidas :: Nueva</h2>
        <div class="widget_inside records_list">
            <div class="form">
                <form action="{{ path('ventas_create') }}" method="post" {{ form_enctype(form) }} id="formID">
                    {{ form_widget(form) }}
                    <div class="clearfix">
                        <label>Fecha de Radicaci&oacute;n</label>
                        <div class="input">
                            <input type="text" name="fechaRadicacion" class="fecha validate[required]" />
                        </div>
                    </div>
                    {% include 'EndorBundle:HelperTemplates:ArticulosAgregados.html.twig' %}  
                    <div class="clearfix grey-highlight">
                        <div class="input no-label">
                            <button type="submit" class="button blue">Guardar</button>
                            <a href="{{ path('ventas') }}" class="button">Regresar a la Lista</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script>
$(document).ready(function(){
    $('.fecha').datetimepicker();
});
</script>
{% include 'EndorBundle:HelperTemplates:ArticulosDisponibles.html.twig' with {'articulos': articulos} %}
{% endblock %}